<template>
	<view>
		<navBar></navBar>
		<view class="agreement font_size_30">
			<view v-show="type==1">
				<view style="color: #000;" v-if="locale=='zh-Hans'" v-html="disclaimers"></view>
				<view style="color: #000;" v-else v-html="disclaimersEn"></view>
			</view>
			<view v-show="type==2">
				<view style="color: #000;" v-if="locale=='zh-Hans'" v-html="userAgreement"></view>
				<view style="color: #000;" v-else v-html="userAgreementEn"></view>

			</view>

			<!-- 	# 用户协议

			欢迎使用衣物护理机（以下简称“本产品”）。在使用本产品之前，请您仔细阅读以下条款。通过使用本产品，即表示您已同意接受并遵守这些使用条件。

			## 1. 使用许可

			本产品的所有权归属于制造商或销售商，但用户被授予非独占性的、不可转让的使用权。此权限仅限于个人和家庭用途，不得用于商业目的。禁止任何未经授权的复制、修改、分发或转售行为。

			## 2. 安全须知

			为了确保安全，用户必须按照制造商提供的操作手册正确安装和使用本产品。不要将本产品暴露在雨中或潮湿环境中，避免儿童接触，并且不在无人看管的情况下运行。如果发现任何异常情况，如漏电、异味等，请立即停止使用并与售后服务联系。

			## 3. 维护保养

			用户有责任定期清洁和维护本产品以保持其最佳性能。请遵循说明书中的指导进行清洁工作，并使用推荐的配件和材料。未经许可，切勿自行拆卸机器内部结构，以免造成损坏或安全隐患。

			## 4. 隐私保护

			我们将尊重您的隐私权，并承诺不会向第三方透露个人信息，除非法律要求或者获得了您的明确同意。当收集到的信息对于提供服务必不可少时，我们会采取合理的措施来保护数据的安全性。

			## 5. 责任限制

			尽管我们尽力确保本产品的质量和服务水平，但对于因使用不当或其他不可抗力因素导致的直接或间接损失，包括但不限于财产损失、人身伤害及业务中断，我们不承担法律责任。

			## 6. 更新与支持

			制造商可能会不定期地对本产品进行软件更新或推出新的功能特性。用户可以选择是否接收这些更新。同时，我们提供有限的技术支持，具体细节请参阅随附的保修卡或访问官方网站获取更多信息。 -->
		</view>
		<view class="btn w_90 yx bottom_btn" @click="goBack">{{$t('agreeRead')}}</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				userAgreement: `
				<div style="font-weight:bold;text-align: center;margin-bottom: 10px;">
				《用户须知》
				</div>
				<div style="line-height: 30px;">
				<div>
					欢迎使用COUCOQ科驭智能衣物护理机及相关小程序服务！为了确保您能够安全、正确地使用本产品，并获得最佳的衣物护理体验，请您仔细阅读并遵守以下用户须知：
				</div>
				
				<div>
				1. 使用前的注意事项
				请根据衣物上的洗涤标签（洗衣标）判断是否适合使用COUCOQ科驭智能衣物护理机进行护理。
				请勿将易燃、易爆、易碎物品或不适合高温、蒸汽环境的物品放入护理机内。
				使用前请确保设备处于平稳状态，并远离儿童和宠物。
				<span style="color: red;">如您为老年用户或有听力、视力等障碍者，建议在他人协助下使用本产品，以避免误操作或意外风险。
				COUCOQ科驭智能衣物护理机仅限于家庭或类似环境中使用，不适用于工业或商业用途。如因超范围使用造成故障或损坏，厂商将不承担相关责任。</span>
				</div>
				<div>
				2. 设备功能介绍
				COUCOQ科驭智能衣物护理机提供多种护理功能，适用于不同面料和护理需求。
				小程序支持远程控制设备、查看设备运行数据及选择指定的面料护理程序。
				具体护理效果可能因衣物材质、污渍类型及使用环境等因素而有所不同。
				</div>
				<div>
				3. 远程控制与数据查看
				通过小程序，您可以远程启动、暂停或停止护理程序，并实时查看设备运行状态。
				请注意，远程控制功能可能受网络延迟或设备连接状态影响，实际运行情况请以设备为准。
				</div>
				<div>
				4. 用户责任
				您需根据衣物洗涤标签自行判断是否适合使用本设备进行护理。COUCOQ科驭不承担因用户未按洗涤标签操作而导致的任何衣物损坏或损失。
				请勿在设备内放置不适合护理的物品，以免造成设备损坏或安全隐患。
				</div>
				<div>
				5. 安全提示
				使用蒸汽或热风功能时，请勿直接接触设备出风口，以免烫伤。
				请定期清洁设备内部及香薰盒，以确保设备正常运行并延长使用寿命。
				如设备出现异常（如异味、异响或故障），请立即停止使用并联系售后服务。
				<span style="color: red;">
				为确保功能完善与设备安全，我们建议您定期检查并更新小程序及设备固件。
				请使用原厂配件（如香薰盒），非原装产品可能影响护理效果或损害设备。
				</span>
				
				</div>
				<div>
				6. 售后服务与支持
				如您在使用过程中遇到任何问题，可通过小程序内的“客服中心”或拨打售后服务热线（400-600-5058）联系COUCOQ科驭客服团队。
				请妥善保管购买凭证，以便享受保修服务。
				</div>
				<div>
				7. 用户须知的更新
				COUCOQ科驭保留随时修改或更新本用户须知的权利。修改后的内容将在小程序内公布，并自公布之日起生效。
				</div>
				
				<div style="color: red;">
				8. 用户信息与隐私保护
				COUCOQ科驭将依法保护您的个人信息。我们仅在为您提供服务的必要范围内收集并使用信息，不会未经您同意将您的数据用于其他目的或提供给第三方。详细隐私政策可在小程序中查阅。
				</div>
				
				<div style="font-weight:bold;>
				请您在使用COUCOQ科驭智能衣物护理机及相关小程序服务前，务必仔细阅读并同意以上用户须知。如您不同意本须知内容，请立即停止使用本功能及服务。
				</div>
				</div>
				
				
				`,


				userAgreementEn: `
				<div style="font-weight:bold;text-align: center;margin-bottom: 10px;">
				《User Notice》
				</div>
				<div style="line-height: 30px;">
				<div>
					Welcome to the COUCOQ Smart Clothing Care Machine and related mini-program services! To ensure safe and proper use of this product and to achieve the best garment care experience, please carefully read and comply with the following guidelines:
				</div>
				
				<div>
				1. Precautions Before Use
				Check the care label on your garments to determine whether they are suitable for use with the COUCOQ Smart Clothing Care Machine.
				Do not place flammable, explosive, fragile, or heat/steam-sensitive items inside the machine.
				Ensure the device is placed on a stable surface and kept away from children and pets.
				Elderly users or those with hearing, visual, or other impairments are advised to use the product with assistance to avoid misuse or potential risks.
				The COUCOQ Smart Clothing Care Machine is designed for household or similar environments only. Industrial or commercial use is not permitted. The manufacturer shall not be liable for malfunctions or damages caused by improper usage.
				</div>
				<div>
				2. Device Functions
				The COUCOQ Smart Clothing Care Machine offers multiple care modes for different fabrics and needs.
				The mini-program supports remote control, real-time monitoring, and customized fabric care programs.
				Actual care results may vary depending on fabric type, stains, and usage conditions.
				</div>
				<div>
				3. Remote Control & Data Monitoring
				Via the mini-program, you can remotely start, pause, or stop care programs and check the device status.
				Note: Remote control may be affected by network latency or connection stability. Always verify the actual device operation.
				</div>
				<div>
				4. User Responsibilities
				You are responsible for judging garment suitability based on care labels. COUCOQ shall not be liable for any damage caused by non-compliance with care instructions.
				Do not place unsuitable items in the machine to avoid damage or safety hazards.
				</div>
				<div>
				5. Safety Tips
				Avoid direct contact with steam or hot air vents to prevent burns.
				Clean the interior and fragrance box regularly to maintain performance and longevity.
				If abnormalities occur (e.g., unusual odors, noises, or malfunctions), stop use immediately and contact customer service.
				For optimal functionality and safety, regularly update the mini-program and device firmware.
				Use only original accessories (e.g., fragrance boxes). Non-genuine parts may affect performance or damage the device.
				</div>
				<div>
				6. After-Sales Support
				For assistance, contact COUCOQ customer service via the mini-program’s "Support Center" or hotline (400-600-5058).
				Retain your purchase receipt for warranty services.
				</div>
				<div>
				7. Updates to This Notice
				COUCOQ reserves the right to modify this notice. Updates will be published in the mini-program and take effect immediately upon release.
				</div>
				
				<div style="color: red;">
				8. Privacy Protection
				COUCOQ protects your personal information in accordance with laws. Data is collected and used solely for service purposes and will not be shared with third parties without consent. For details, refer to the Privacy Policy in the mini-program.
				</div>
				
				<div style="font-weight:bold;>
				By using the COUCOQ Smart Clothing Care Machine and related services, you acknowledge and agree to this notice. If you disagree, please discontinue use immediately.
				</div>
				</div>
				
				
				`,



				disclaimers: `
				<div style="font-weight:bold;text-align: center;margin-bottom: 10px;">
				《免责声明》
				</div>
				<div style="line-height: 30px;">
				<div>
					感谢您选择使用 <span style="font-weight:bold;">COUCOQ科驭智能衣物护理机及相关小程序服务</span>。为了确保您的衣物得到最佳护理效果并保障您的<span style="color: red;">合法</span>权益，请您在使用前仔细阅读并同意以下免责声明<span style="color: red;">条款</span>：
					</div>
					
				<div style>
				1.用户责任
				<span style="color: red;">在使用本产品前，您应详细查阅衣物的洗涤标签，并自行判断是否适合使用 COUCOQ
				科驭智能衣物护理机进行护理。若因未遵循洗涤标签提示或未按说明书规范操作而造成衣物损坏、变形、褪色或其他损失，COUCOQ科驭不承担任何赔偿或补偿责任。</span>
				</div>
				<div>
				2.设备功能
				<span style="color: red;">本产品提供多种衣物护理程序，旨在提升衣物护理效率和体验。由于衣物面料差异、污渍性质、使用环境、运行条件等因素不同，护理效果可能存在差异。
				COUCOQ 科驭对护理效果不作任何明示或暗示的保证，包括但不限于去污力、熨烫平整度、除菌效果及面料保护等。</span>			
				</div>
				<div>
				3.远程控制与数据查看
				<span style="color: red;">COUCOQ 科驭小程序提供远程控制设备、查看运行状态及选择护理程序等功能。由于网络延迟、信号不稳定、系统故障或其他外部原因，远程操作可能存在延迟或失效。用户应以设备本地显示和实际运行状况为准，COUCOQ
				科驭对此类偏差不承担任何责任。。</span>			
				</div>
				<div>
				4.免责范围
				COUCOQ科驭<span style="color: red;">
				法律允许的范围内，不对以下情形所导致的任何直接或间接损失承担责任：
				• 用户操作不当、未按说明书操作、或误用本产品；
				• 未经授权改装、拆解、维修设备或使用非原装配件所造成的故障或损坏；
				• 使用过程中放置不适合护理的物品，如易燃、易爆、易碎或不能耐高温高湿环境的物品；
				• 因不可抗力（如自然灾害、电力故障、网络中断等）引起的设备异常；
				• 因第三方平台或服务（如微信、支付宝等）故障或限制导致小程序服务中断或数据异常；
				• 因用户未更新小程序或设备固件版本导致的功能异常。
				</span>
				</div>
				<div>
				5.安全提示
				<span style="color: red;">
				使用本设备时请务必注意以下事项：
				• 操作前确保设备置于平稳通风的环境中，远离高温热源及儿童、宠物；
				• 禁止在护理过程中开启设备门体，以防烫伤或设备受损；
				• 使用蒸汽、热风等高温功能时请保持安全距离，请勿直接接触设备出风口；
				• 定期清洁设备及相关配件（如香薰盒），以保障运行稳定性与护理效果。
				</span>
				</div>
				<div>
				6.免责声明的修改与更新
				
				<span style="color: red;">
				OUCOQ 科驭有权根据法律法规、业务需要或服务优化不时更新本免责声明。变更后的声明将通过小程序予以公示，并自公布之日起生效。建议用户定期查阅免责声明内容。
				</span>
				
				请您在使用COUCOQ科驭智能衣物护理机及相关服务前，务必仔细阅读并
				<span style="color: red;">
				充分理解以上免责声明内容。若您不同意本声明的全部或部分条款，请立即停止使用本产品及小程序服务。
				</span>
				</div>	
				
				</div>
				
			`,
				disclaimersEn: `
				<div style="font-weight:bold;text-align: center;margin-bottom: 10px;">
				《Disclaimer》
				</div>
				<div style="line-height: 30px;">
				<div>
					Thank you for choosing the COUCOQ Smart Clothing Care Machine and related mini-program services. To ensure optimal garment care and protect your rights, please read and agree to the following disclaimer before use:
				</div>
					
				<div style>
				1. User Responsibility
				Before using this product, carefully check the care labels on your garments and determine their suitability for the COUCOQ Smart Clothing Care Machine. COUCOQ shall not be liable for any damage, deformation, color fading, or other losses resulting from failure to follow care labels or improper operation per the user manual.
				</div>
				<div>
				2. Device Functionality
				This product offers multiple garment care programs to enhance efficiency and user experience. Due to variations in fabric types, stain properties, usage environments, and operating conditions, care results may differ.
				COUCOQ makes no express or implied warranties regarding care outcomes, including but not limited to stain removal, wrinkle reduction, sterilization efficacy, or fabric protection.
				</div>
				<div>
				3. Remote Control & Data Monitoring
				The COUCOQ mini-program enables remote control, real-time status monitoring, and care program selection. Remote operations may experience delays or failures due to network latency, unstable signals, system errors, or other external factors. Users should rely on the device’s local display and actual operation. COUCOQ assumes no responsibility for such discrepancies.	
				</div>
				<div>
				4. Limitation of Liability
				To the extent permitted by law, COUCOQ shall not be liable for any direct or indirect losses arising from:
				Improper operation, non-compliance with instructions, or misuse of the product;
				Unauthorized modifications, disassembly, repairs, or use of non-genuine accessories causing malfunctions or damage;
				Placement of unsuitable items (e.g., flammable, explosive, fragile, or heat/moisture-sensitive objects) during use;
				Abnormalities caused by force majeure (e.g., natural disasters, power outages, network disruptions);
				Service interruptions or data anomalies due to third-party platform failures (e.g., WeChat, Alipay);
				Functional issues resulting from failure to update the mini-program or device firmware.
				</div>
				<div>
			
				5. Safety Guidelines
				When using this device, observe the following:
				Ensure the device is placed on a stable, ventilated surface away from heat sources, children, and pets;
				Do not open the door during operation to avoid burns or device damage;
				Maintain a safe distance from steam or hot air vents; avoid direct contact;
				Clean the device and accessories (e.g., fragrance box) regularly to ensure performance and care quality.
				</div>
				<div>
				6. Modifications to This Disclaimer
				COUCOQ reserves the right to update this disclaimer as needed to comply with laws, business requirements, or service improvements. Revised versions will be published in the mini-program and take effect immediately upon release. Users are advised to review the disclaimer periodically.
				By using the COUCOQ Smart Clothing Care Machine and related services, you confirm that you have read, understood, and agreed to this disclaimer. If you disagree with any part of these terms, discontinue use immediately.
				</div>	
				
				</div>
				
			`,
				locale: '', //主题
				type: '' //1用户协议2免责声明
			};
		},
		onLoad(e) {
			if (e.type) {
				this.type = e.type
			}
			this.locale = uni.getLocale()
			console.log(uni.getLocale(), 'uni.getLocale()')
		},
		methods: {
			goBack() {
				uni.navigateBack({
					delta: 1 // 默认为1，表示返回上一页面，如果大于1则返回到指定页面
				});
			},
		},
	}
</script>

<style scoped>
	.agreement {

		padding: 40rpx;
		box-sizing: border-box;
		word-wrap: break-word;
		/* 旧版浏览器支持 */
		overflow-wrap: break-word;
		color: #A0A0A0;

	}

	.bottom_btn {
		position: fixed;
		bottom: 100rpx;
		left: 5%;
	}
</style>